package com.youxue.dao;

import com.youxue.entity.LineDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LineDetailMapper {
    int deleteByPrimaryKey(Integer lineDetailId);

    int insert(LineDetail record);

    int insertSelective(LineDetail record);

    LineDetail selectByPrimaryKey(Integer lineDetailId);

    int updateByPrimaryKeySelective(LineDetail record);

    int updateByPrimaryKey(LineDetail record);

    List<LineDetail> selectALineDetails(@Param(value = "lineId") Integer lineId);

    /**
     * 通过lineId删除景点
     * 后台使用
     * @param lineId
     * @return
     */
    int deleteALineDetailByLineId(@Param(value = "lineId") Integer lineId);
}